import { ref } from 'vue'
export default function() {
    let sum = ref(20)
    function sumAdd(){
    sum.value++
    }
    //向外部提供数据
    return {sum,sumAdd}
}
